<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- CSS-->
    <link rel="stylesheet" type="text/css" href="/static/admin/css/main.css">
    <!-- Font-icon css-->
    <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <title>搞事情论坛</title>
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries-->
    <!--if lt IE 9
    script(src='https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js')
    script(src='https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js')
    -->

    <style>
    .pa{padding: 10px;}
    .page-title{margin-bottom: 10;}
    
    </style>

  </head>
  <body class="sidebar-mini fixed">

    <!-- Javascripts-->
    <script src="/static/admin/js/jquery-2.1.4.min.js"></script>
    <script src="/static/admin/js/bootstrap.min.js"></script>
    <script src="/static/admin/js/plugins/pace.min.js"></script>
    <script src="/static/admin/js/main.js"></script>
     <script type="text/javascript" src="/static/admin/js/plugins/bootstrap-notify.min.js"></script>
    <script type="text/javascript" src="/static/admin/js/plugins/sweetalert.min.js"></script>
    <div class="wrapper">
      <!-- Navbar-->
      <header class="main-header hidden-print"><a class="logo" href="index.html">GSQ-论坛</a>
        <nav class="navbar navbar-static-top">
          <!-- Sidebar toggle button--><a class="sidebar-toggle" href="#" data-toggle="offcanvas"></a>
          <!-- Navbar Right Menu-->
          <div class="navbar-custom-menu">
            <ul class="top-nav">
              <!--Notification Menu-->
              <li class="dropdown notification-menu"><a class="dropdown-toggle" href="#" data-toggle="dropdown" aria-expanded="false"><i class="fa fa-bell-o fa-lg"></i></a>
                <ul class="dropdown-menu">
                  <li class="not-head">You have 4 new notifications.</li>
                  <li><a class="media" href="javascript:;"><span class="media-left media-icon"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x text-primary"></i><i class="fa fa-envelope fa-stack-1x fa-inverse"></i></span></span>
                      <div class="media-body"><span class="block">Lisa sent you a mail</span><span class="text-muted block">2min ago</span></div></a></li>
                  <li><a class="media" href="javascript:;"><span class="media-left media-icon"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x text-danger"></i><i class="fa fa-hdd-o fa-stack-1x fa-inverse"></i></span></span>
                      <div class="media-body"><span class="block">Server Not Working</span><span class="text-muted block">2min ago</span></div></a></li>
                  <li><a class="media" href="javascript:;"><span class="media-left media-icon"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x text-success"></i><i class="fa fa-money fa-stack-1x fa-inverse"></i></span></span>
                      <div class="media-body"><span class="block">Transaction xyz complete</span><span class="text-muted block">2min ago</span></div></a></li>
                  <li class="not-footer"><a href="#">See all notifications.</a></li>
                </ul>
              </li>
              <!-- User Menu-->
              <li class="dropdown"><a class="dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-user fa-lg"></i></a>
                <ul class="dropdown-menu settings-menu">
                  <li><a href="page-user.html"><i class="fa fa-cog fa-lg"></i> Settings</a></li>
                  <li><a href="page-user.html"><i class="fa fa-user fa-lg"></i> Profile</a></li>
                  <li><a href="/admin/login/logout"><i class="fa fa-sign-out fa-lg"></i>退出登录</a></li>
                </ul>
              </li>
            </ul>
          </div>
        </nav>
      </header>
      <!-- Side-Nav-->
      <aside class="main-sidebar hidden-print">
        <section class="sidebar">
          <ul class="sidebar-menu" id='lists'>
            <li class="treeview"><a href="{:url('admin/index/')}"><i class="fa fa-university"></i><span>后台首页</span></a></li>
            <li class="treeview"><a href="{:url('admin/role/')}"><i class="fa fa-user-circle"></i><span>用户</span><i class="fa fa-angle-right"></i></a>
              <ul class="treeview-menu">
                <li><a href="{:url('admin/user/')}"><i class="fa fa-user-circle"></i>用户管理</a></li>
                <li><a href="{:url('admin/role/')}"><i class="fa fa-address-card-o"></i>角色管理</a></li>
                <li><a href="{:url('admin/nodes/')}"><i class="fa fa-users"></i>权限管理</a></li>
                <li><a href="{:url('admin/node/')}"><i class="fa fa-usd"></i>积分管理</a></li>
              </ul>
            </li>
            <li class="treeview "><a href="{:url('admin/nodes/')}"><i class="fa fa-files-o"></i><span>文章</span><i class="fa fa-angle-right"></i></a>
              <ul class="treeview-menu">
                <li><a href="{:url('admin/post/')}"><i class="fa fa-align-justify"></i>文章管理</a></li>
                <li><a href="{:url('admin/label/')}"><i class="fa fa-paperclip"></i>分类管理</a></li>
                <li><a href="{:url('admin/postpic/')}"><i class="fa fa-list-ul"></i>文章图片</a></li>
              </ul>
            </li>
            <li class="treeview"><a href="{:url('admin/nodes/')}"><i class="fa fa-cogs"></i><span>设置</span><i class="fa fa-angle-right"></i></a>
              <ul class="treeview-menu">
                <li><a href="{:url('admin/nodes/')}"><i class="fa fa-cog"></i>论坛管理</a></li>
                <li><a href="{:url('admin/Channel/')}"><i class="fa fa-windows"></i>频道管理</a></li>
                <li><a href="{:url('admin/bbs/')}"><i class="fa fa-bar-chart"></i>数据统计</a></li>
                <li><a href="{:url('admin/nodes/')}"><i class="fa fa-bar-chart"></i>图片管理</a></li>
              </ul>
            </li>
            <li class="treeview"><a href="{:url('admin/nodes/')}"><i class="fa fa-commenting"></i><span>互动</span><i class="fa fa-angle-right"></i></a>
              <ul class="treeview-menu">
                <li><a href="{:url('admin/nodes/')}"><i class="fa fa-comments-o"></i>评论管理</a></li>
                <li><a href="{:url('admin/nodes/')}"><i class="fa fa-commenting"></i>消息管理</a></li>
                <li><a href="{:url('admin/nodes/')}"><i class="fa fa-comment"></i>聊天管理</a></li>
              </ul>
            </li>
          </ul>
        </section>
      </aside>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">分配权限</h4>
      </div>
      <div class="modal-body">
          <div class="form-group">
               <div class="animated-checkbox row" id='allnodes'>
              </div>
          </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal" onclick='con()'>关闭</button>
      </div>
    </div>
  </div>
</div>
{block name="main"}

      <div class="content-wrapper">
        <div class="page-title">
          <div>
            <h1><i class="fa fa-dashboard"></i> Dashboard</h1>
            <p>A free and modular admin template</p>
          </div>
          <div>
            <ul class="breadcrumb">
              <li><i class="fa fa-home fa-lg"></i></li>
              <li><a href="#">Dashboard</a></li>
            </ul>
          </div>
        </div>
        
      </div>

{/block}
    </div>
{block name="motai"}
  
{/block}



    <script>
      $('img').error(function(){
            $(this).attr('src', "/static/index/img/logo.gif");
         });
      function motai(data){
        $.notify({
          title: "提示: ",
          message: data ,
          icon: 'fa fa-check' 
        },{
          type: "info"
        });
      }




      var url = window.location.pathname;
      $('#lists a[href="'+url+'"]').parent().addClass('active');


    </script>
  </body>
</html>



